home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / lib / partman / mount.d / 70bind < prev    next >
Text File  |  2009-10-28  |  218b  |  20 lines

  1. #!/bin/sh
  2. set -- $1
  3.  
  4. fs=$1
  5. mp=$2
  6. type=$3
  7. options=$4
  8. dump=$5
  9. pass=$6
  10.  
  11. case "$options" in
  12.     *bind*)
  13.     mount -o "$options" $fs /target$mp || exit 1
  14.         echo "umount /target$mp"
  15.         exit 0
  16.         ;;
  17. esac
  18.  
  19. exit 1
  20.